import React,{ useState,useEffect} from "react"

import MyHeader from "@/components/header/MyHeader"

import Series from './Series'

function Index(){
    const [showFilter,setShowFilter]=useState(false)
    function changeShowFilter(){
        setShowFilter(!showFilter)
    }
    return (
        <>
            <MyHeader  fliterFlg={true} fliterFn={changeShowFilter} title='车系'  />
            <Series fliterFlg={showFilter} fliterFn={()=>setShowFilter(false)}  />
        </>
    ) 
}

export default Index